/*
 * Created by Jaren at 2021/12/30 17:39
 */
import 'package:inmotion_protocol/common/product_model.dart';
import 'package:inmotion_protocol/common/product_version.dart';
import 'package:inmotion_protocol/lorin/bean/euc/euc_statistics.dart';

class V11TotalStatistics extends EucTotalStatistics {
    V11TotalStatistics(ProductModel model, VersionWrapper version) : super(model, version);

  @override
    String toString() {
        return 'V11TotalStatistics{mileage: $mileage, energy: $energy, powerOnTime: $powerOnTime, recovery: $recovery, rideTime: $rideTime}';
    }
}

class V11HistoryStatistics extends EucStatistics {
    V11HistoryStatistics(ProductModel model, VersionWrapper version) : super(model, version);

  @override
    String toString() {
        return 'V11HistoryStatistics{index: $index, date: $date, maxSpeed: $maxSpeed, maxPower: $maxPower, maxMotorPower: $maxMotorPower, maxMosTemp: $maxMosTemp'
            ', maxMotorTemp: $maxMotorTemp, maxBatteryTemp: $maxBatteryTemp, maxBoardTemp: $maxBoardTemp, mileage: $mileage, energy: $energy, recovery: $recovery'
            ', rideTime: $rideTime, powerOnTime: $powerOnTime}';
    }
}